function toggleRules(id){
	if(document.getElementById(id).style.display == "none")
		document.getElementById(id).style.display = "inline";
	else
		document.getElementById(id).style.display = "none";	
}

function aW(w){
	document.getElementById("header").style.width=w;
	alert(document.getElementById("header").style.width);
}

function findTeam(id){
	e = document.getElementById(id);
	c = e.className;
	if(c == "1")
		e.className = "selected-left";
	else if(c == "-1")
		e.className = "selected-right";
	else
		e.className = "selected-left";
	location.hash = id;
}